import instance from "@/tools/axios";

//添加
const VpiDedAdd = async (data: any): Promise<ResponseApiDto> => {
  return instance.post("/VipDeductions/Add", data);
};

//删除
const VpiDedDelete = async (data: any): Promise<ResponseApiDto> => {
  return instance.post("/VipDeductions/Delete", data);
};

//单个查询
const Get_dg_Dedvount = async (params: any): Promise<ResponseApiDto> => {
  return instance.get("/VipDeductions/Get_dg_Dedvount", params);
};

export { VpiDedAdd, VpiDedDelete, Get_dg_Dedvount };
